import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-09-07
 * Time: 13:32
 */
public class test{
    public static void main(String[] args) {
        int o = 0;
        double sum = 0;
        //int N = 0;   输入n个数字 求平均值
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        while (o<N){
            int i = sc.nextInt();
            o++;
            sum+=i;
        }
        System.out.println(sum/N);
    }
    public static void main8(String[] args) {
        Scanner scan = new Scanner (System.in);
        System.out.println("你的名字是");
        String name = scan.nextLine();
        System.out.println(name);
        scan.close();

    /*    Scanner sc = new Scanner (System.in);
Scanner sc = newScanner (Syetem.in);
scan.close();*/
    }
    public static void main7(String[] args) {
        int i = 0;
        while(i<100){
            i++;
            if(i%3!=0||i%6!=0){
                continue;//数不等于6的倍数就跳过

            }
            System.out.println(i);
        }
    }
    public static void main6(String[] args) {
        int i = 0;
        while(i<100){
            i++;
            if(i%3==0&&i%6==0){
                System.out.println(i);
            }
        }
    }
    public static void main5(String[] args) {
        int i =1;
        while(i<=10){
            i++;
            if(i==3){
                continue;
            }
            System.out.println(i);

        }
    }
    public static void main4(String[] args) {
        int i =1;
        while(i<=10){
            if(i==3){
                continue;
            }
            System.out.println(i);
            i++;
        }
    }
    public static void main2(String[] args) {
        int ret = 1;
        int i = 1;
        int sum =0;
        while(i<=5){
            ret*=i;
            sum+=ret;
            i++;
        }
        System.out.println(ret);
        System.out.println(sum);
    }
    public static void main1( String []args){
    int i = 0;
    while(i<=10){
        System.out.println(i);
        i++;
    }

    }

}
